package com.zmn.oms.zmn.normal.business.interfaces.work.financework;

import com.zmn.oms.common.dto.OmsOperator;
import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.work.OrderWork;

/**
 * @author sunlife
 * @date:2021/7/27 2:15 下午
 * description:
 */
public interface ZsNormalAccountWorkBService {
    /**
     * 工单金额校验
     *
     * @param orderWork
     */
    void verifyOrderAmount(OrderWork orderWork) throws OmsBaseException;


    /**
     * 工单算账
     *
     * @param orderWork
     */
    void account(OrderWork orderWork, OmsOperator operator) throws OmsBaseException;

    /**
     * 工单算账
     *
     * @param orderWork
     */
    void accountBySys(OrderWork orderWork);
}
